/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.dapai.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.softtown.common.utils.PageUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel(value = "设备表详情")
public class CompMacDetailDTO extends PageUtils implements Serializable {

    /**
     * 主键
     * id
     * isNullAble:0
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 公司id
     * isNullAble:0
     */
    @ApiModelProperty(value = "公司id")
    private Long compId;

    /**
     * 设备id
     * isNullAble:0
     */
    @ApiModelProperty(value = "设备id")
    private Long macId;

    /**
     * 螺杆直径
     * isNullAble:0
     */
    @ApiModelProperty(value = "螺杆直径")
    private String screwDiameter;

    /**
     * 配置
     * isNullAble:0
     */
    @ApiModelProperty(value = "配置")
    private String configure;


    /**
     * 创建者
     * isNullAble:1
     */
    @ApiModelProperty(value = "创建者")
    private Long creator;



    /**
     * 创建时间
     * isNullAble:1
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    /**
     * 更新者
     * isNullAble:1
     */
    @ApiModelProperty(value = "更新者")
    private Long updater;

    /**
     * 更新时间
     * isNullAble:1
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    /**
     * 更新时间戳
     * isNullAble:1
     */
    @ApiModelProperty(value = "更新时间戳")
    private String updateTimestamp;

    /**
     * 逻辑删除
     * isNullAble:1,defaultVal:0
     */
    @ApiModelProperty(value = "逻辑删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "参数")
    private String param;

    /**
     * 设备名称
     * isNullAble:0
     */
    @ApiModelProperty(value = "设备名称")
    private String  name;

    /**
     * 设备分类id
     * isNullAble:0
     */
    @ApiModelProperty(value = "设备分类id")
    private Long macTypeId;

    /**
     * 当前状态 0：已入库   1：在途 2：租赁中
     * isNullAble:0
     */
    @ApiModelProperty(value = "当前状态 0：已入库   1：在途 2：租赁中")
    private Integer	status;


    /**
     * 规格型号
     * isNullAble:0
     */
    @ApiModelProperty(value = "规格型号")
    private String  size;

    /**
     * 设备铭牌
     * isNullAble:0
     */
    @ApiModelProperty(value = "设备铭牌")
    private String  nameplate;

    /**
     * 最大库存量
     * isNullAble:0
     */
    @ApiModelProperty(value = "最大库存量")
    private Integer	maxInventory;
    /**
     * 库存量
     * isNullAble:0
     */
    @ApiModelProperty(value = "库存量")
    private Integer	stock;
    /**
     * 最小库存量
     * isNullAble:0
     */
    @ApiModelProperty(value = "最小库存量")
    private Integer	minInventory;

    /**
     * 安全库存量
     * isNullAble:0
     */
    @ApiModelProperty(value = "安全库存量")
    private Integer	safeInventory;


    /**
     * 默认入库仓库id
     * isNullAble:1
     */
    @ApiModelProperty(value = "默认入库仓库id")
    private Long warehouseInId;


    /**
     * 默认出库仓库id
     * isNullAble:1
     */
    @ApiModelProperty(value = "默认出库仓库id")
    private Long warehouseOutId;

    /**
     * 备注
     * isNullAble:0
     */
    @ApiModelProperty(value = "备注")
    private String  remark;


    @ApiModelProperty(value = "当前状态名称")
    private String statusName;
    @ApiModelProperty(value = "分类名称")
    private String macTypeName;
    @ApiModelProperty(value = "入库库房名称")
    private String warehouseInName;
    @ApiModelProperty(value = "出库库房名称")
    private String warehouseOutName;


}
